/**
 * 设置单元格属性后
 * @param row
 * @param col
 * @param key
 * @param value
 * @param readOnlyCellsData
 */
export const hlAfterSetCellMeta = (row: number, col: number, key: string, value: any, readOnlyCellsData: string[]) => {
    if (key === 'readOnly') {
        if (value) {
            readOnlyCellsData.push(`${row}-${col}`);
        } else {
            const index = readOnlyCellsData.indexOf(`${row}-${col}`);
            readOnlyCellsData.splice(index, 1);
        }
    }
}
